package com.gy.api.pc.sys.role.domain.po;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_user_role")
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUserRolePO {
    /**
     * 用户ID
     */
    @Id
    @Column(name = "user_id")
    private String userId;

    /**
     * 角色ID
     */
    @Id
    @Column(name = "role_id")
    private String roleId;

}